google.golang.org/protobuf/internal/encoding/text.Decoder.in (field)
51 uses
google.golang.org/protobuf/internal/encoding/text (current package)
decode.go#L39: in []byte
decode.go#L44: return &Decoder{orig: b, in: b}
decode.go#L101: if len(d.in) == 0 {
decode.go#L121: switch ch := d.in[0]; ch {
decode.go#L141: switch d.in[0] {
decode.go#L155: switch ch := d.in[0]; ch {
decode.go#L174: switch ch := d.in[0]; ch {
decode.go#L191: switch ch := d.in[0]; ch {
decode.go#L210: switch ch := d.in[0]; ch {
decode.go#L224: switch ch := d.in[0]; ch {
decode.go#L243: switch ch := d.in[0]; ch {
decode.go#L259: switch ch := d.in[0]; ch {
decode.go#L279: switch ch := d.in[0]; ch {
decode.go#L293: switch ch := d.in[0]; ch {
decode.go#L326: switch ch := d.in[0]; ch {
decode.go#L347: switch ch := d.in[0]; ch {
decode.go#L357: line, column := d.Position(len(d.orig) - len(d.in))
decode.go#L403: if d.in[0] == '[' {
decode.go#L408: if size := parseIdent(d.in, false); size > 0 {
decode.go#L414: if num := parseNumber(d.in); num.size > 0 {
decode.go#L416: if _, err := strconv.ParseInt(string(d.in[:num.size]), 10, 32); err == nil {
decode.go#L420: return Token{}, d.newSyntaxError("invalid field number: %s", d.in[:num.size])
decode.go#L423: return Token{}, d.newSyntaxError("invalid field name: %s", errId(d.in))
decode.go#L432: startPos := len(d.orig) - len(d.in)
decode.go#L435: s := consume(d.in[1:], 0)
decode.go#L485: d.in = s
decode.go#L486: endPos := len(d.orig) - len(d.in)
decode.go#L561: if d.in[0] == '"' || d.in[0] == '\'' {
decode.go#L573: return Token{}, d.newSyntaxError("invalid scalar value: %s", errId(d.in))
decode.go#L580: size := parseIdent(d.in, true)
decode.go#L594: pos: len(d.orig) - len(d.in),
decode.go#L595: raw: d.in[:size],
decode.go#L605: line, column := d.Position(len(d.orig) - len(d.in))
decode.go#L622: if len(d.in) > 0 && d.in[0] == c {
decode.go#L631: d.in = consume(d.in, n)
decode_number.go#L9: in := d.in
decode_number.go#L20: if num.kind == numFloat && (d.in[last] == 'f' || d.in[last] == 'F') {
decode_number.go#L26: pos: len(d.orig) - len(d.in),
decode_number.go#L27: raw: d.in[:num.size],
decode_number.go#L28: str: string(d.in[:strSize]),
decode_string.go#L30: in0 := d.in
decode_string.go#L32: for len(d.in) > 0 && (d.in[0] == '"' || d.in[0] == '\'') {
decode_string.go#L44: raw: in0[:len(in0)-len(d.in)],
decode_string.go#L51: in := d.in
decode_string.go#L67: d.consume(len(d.in) - len(in))